   package org.testis.guiappsmodule.services;
/**
 *
 * @author nurhat
 */
public class GuiAppsException extends RuntimeException {
  private static final long serialVersionUID = 19826L;
    private GuiAppsExceptionType m_resultType;


    public GuiAppsException(GuiAppsExceptionType result,
                             String errorMsg)
    {
        super(errorMsg);
        m_resultType = result;
    }


    /**
     * Result type gives type of exception.
     * @return
     */
    public GuiAppsExceptionType getResultType()
    {
        return m_resultType;
    }


    public void setResultType(GuiAppsExceptionType m_resultType)
    {
        this.m_resultType = m_resultType;
    }
}
